#include <stdio.h>

#define STU_NUM 3

int main () {

	int i;
	int a=0;

	struct student{
		char *name;
		int score;
	};

	struct student st[]={{"sanghun", 100}, {"kimsoo", 84}, {"susan", 95}};

	for (i=0; i<STU_NUM; i++) {
		printf("%s : %d \n", st[i].name, st[i].score);
		a += st[i].score;
	}  
	
	
	printf("******************************* \n");
	printf("average : %d \n", a/STU_NUM);

	
}
